package com.link.base.base.stocksellstorage.dao.mybatis.mapper;

import com.link.base.base.stocksellstorage.model.StorageProd;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 */
public interface StorageProdMapper extends BasicMapper<StorageProd> {

    /**
     * 查询产品列表
     *
     * @param storageProd
     * @return List StorageProd
     * @throws Exception
     */
    public List<StorageProd> queryProdListByStorageId(StorageProd storageProd) throws Exception;


    /**
     * 查询库存产品
     *
     * @param entity
     * @return List StorageProd
     * @throws Exception
     */
    public List<StorageProd> queryStorageProdsByStockId(StorageProd entity) throws Exception;

    /**
     * 查询库存产品数量
     *
     * @param entity
     * @return List StorageProd
     * @throws Exception
     */
    public int countStorageProdsByStockId(StorageProd entity) throws Exception;
}
